package online.heycm.platform.canary.common;

/**
 * @author heycm
 * @since 2023/12/30 11:30
 */
public interface CanaryConstant {

    /**
     * Nacos 默认监听灰度配置 data-id
     */
    String CANARY_DATA_ID = "micro-canary";

    /**
     * Nacos 默认监听灰度配置 group
     */
    String CANARY_GROUP = "DEFAULT_GROUP";

    /**
     * 灰度服务标记
     */
    String[] CANARY_INSTANCE_METADATA = {"canary.enable", "true"};

    /**
     * 流量灰度请求头固定值
     */
    String CANARY_FLOW_VALUE = "true";

    /**
     * 流量灰度服务元数据固定值
     */
    String METADATA_FLOW_VALUE = "*";

}
